package top.xiangqifu.fruit.service;

import org.springframework.stereotype.Service;
import top.xiangqifu.fruit.base.BasePageResult;
import top.xiangqifu.fruit.base.BaseResult;
import top.xiangqifu.fruit.entity.PageBean;
import top.xiangqifu.fruit.entity.TbFruit;

import java.util.List;

@Service
public interface FruitService {

    BaseResult add(TbFruit tbFruit);

    BaseResult delete(TbFruit tbFruit);

    BaseResult update(TbFruit tbFruit);

    BasePageResult<List<TbFruit>> query(TbFruit tbFruit, PageBean pageBean);
}
